package com.javasm.gm;


import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface GiftService extends IService<Gift> {

    List<Gift> listGift(Gift g);

    boolean updateGiftStock(Integer giftId, Integer count);

    Integer getGiftIdByGoodsId(Integer goodsId);
}
